home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / ps40sdk / examples / format / simpleformat / simpleformat.pipl < prev    next >
Encoding:
Text File  |  1996-10-09  |  2.8 KB  |  161 lines

  1. #define RSCL32(a,b,c,d)        0x ## c ## d, 0x ## a ## b
  2. #define RSCS32(a)        a, 0x0
  3.  
  4. STRINGTABLE    DISCARDABLE
  5. BEGIN
  6.     16990,
  7.     "An integer is required between ^1 and ^2."
  8. END
  9.  
  10. STRINGTABLE    DISCARDABLE
  11. BEGIN
  12.     16991,
  13.     "A decimal number is required between ^1 and ^2."
  14. END
  15.  
  16. STRINGTABLE    DISCARDABLE
  17. BEGIN
  18.     16992,
  19.     "This plug-in requires Adobe Photoshop« ^1 or later functionality."
  20. END
  21.  
  22. STRINGTABLE    DISCARDABLE
  23. BEGIN
  24.     16993,
  25.     "This plug-in is incompatible with this version of the host program."
  26. END
  27.  
  28. STRINGTABLE    DISCARDABLE
  29. BEGIN
  30.     16001,
  31.     "SimpleFormat"
  32. END
  33.  
  34. 16000  PiPL  DISCARDABLE
  35. BEGIN
  36.     0x0001,     /* Must always be the first Byte */
  37.     RSCS32(0),     /* kCurrentPiPLVersion */
  38.     RSCS32( 13), /* Property Count */
  39.     "MIB8",
  40.     "dnik", /* 'kind' PIKindProperty*/
  41.     RSCS32(0),
  42.     RSCS32(4),
  43.     "FIB8",
  44.  
  45.     "MIB8",
  46.     "eman",/* 'name' PINameProperty */
  47.     RSCS32(0),
  48.     RSCS32(16),
  49.     "\x0CSimpleFormat\0\0\0", 
  50.  
  51.     "MIB8",
  52.     "srev", /* 'vers' PIVersionProperty */
  53.     RSCS32(0),
  54.     RSCS32(4),
  55.     0, 1, 
  56.  
  57.     "MIB8",
  58.     "68xw", /* 'wx86' PIWin32X86CodeProperty */
  59.     RSCS32(0),
  60.     RSCS32(12),
  61.     "ENTRYPOINT\0\0", 
  62.  
  63.     "MIB8",
  64.     "mtsh", /* 'hstm' PITerminology */
  65.     RSCS32(0),
  66.     RSCS32(20),
  67.     RSCS32(0), /* version */
  68.     "Pmis", /* classID */
  69.     "llun", /* eventID */
  70.     16000, /* Terminology ID */
  71.     "\0\0\0\0\0\0", /* Unique string */
  72.  
  73.     "MIB8",
  74.     "edom", /* 'mode' PIImageModesProperty */
  75.     RSCS32(0),
  76.     RSCS32(4),
  77.     "\xFF\xC0\0\0",
  78.  
  79.     "MIB8",
  80.     "lbne", /* 'enbl' EnableInfoProperty */
  81.     RSCS32(0),
  82.     RSCS32(8),
  83.     "true\0\0\0\0", 
  84.  
  85.     "MIB8",
  86.     "CTmf",/* 'fmTC' PIFmtFileTypeProperty */
  87.     RSCS32(0),
  88.     RSCS32(8),
  89.     "F1B8", 
  90.     "MIB8", 
  91.  
  92.     "MIB8",
  93.     "yTdR", /* 'RdTy' PIReadTypesProperty */
  94.     RSCS32(0),
  95.     RSCS32(  8),
  96.     "F1B8", 
  97.     "    ", 
  98.  
  99.     "MIB8",
  100.     "Etff", /* 'fftE' PIFilteredExtProperty */
  101.     RSCS32(0),
  102.     RSCS32(  4),
  103.     "SME ", 
  104.  
  105.     "MIB8",
  106.     "ftmf", /* 'fmtf' PIFmtFlagsProperty */
  107.     RSCS32(0),
  108.     RSCS32(4),
  109.     "\x78\0\0\0",
  110.  
  111.     "MIB8",
  112.     "zsxm", /* 'mxsz' PIFmtMaxSizeProperty */
  113.     RSCS32(0),
  114.     RSCS32(4),
  115.     32767, 32767,
  116.  
  117.     "MIB8",
  118.     "hcxm", /* 'mxch' PIFmtMaxChannelsProperty */
  119.     RSCS32(0),
  120.     RSCS32(  24),
  121.     1, 24, 24, 24, 
  122.     24, 24, 24, 24, 
  123.     24, 24, 24, 24, 
  124.     
  125. END
  126.  
  127. STRINGTABLE    DISCARDABLE
  128. BEGIN
  129.     16000,
  130.     "SimpleFormat\n\nVersion 4.0\nCopyright ⌐ 1992-6 Adobe Systems Incorporated.\nAll rights reserved.\n\nA plug-in image format module that reads and writes Simple Format files in Adobe Photoshop«."
  131. END
  132.  
  133. 16000    aete    DISCARDABLE
  134. BEGIN
  135.     0x0001,
  136.     1,/* majorVersion|minorVersion */
  137.     0,/* language */
  138.     0,/* script */
  139.         1,/* SuiteCount */
  140.     "\10","AdobeSDK",
  141.     "\26","Adobe example plug-ins",
  142.     1935952692L,
  143.     1,
  144.     1,
  145.         0,/* EventCount */
  146.         1,
  147.     "\25","AdobeSDK simpleFormat",
  148.     1936289104L,
  149.     "\24","SimpleFormat plug-in",
  150.         1,
  151.     "\15","<Inheritance>",
  152.     1665147742L,
  153.     1181578272L,
  154.     "\23","parent class format",
  155.     0,
  156.         0,
  157.     0
  158.         0,
  159. END
  160.  
  161.